<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>编辑资产</title>

    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/layui/extend/dtree.css">
    <link rel="stylesheet" href="/layui/extend/font/dtreefont.css">
    <link rel="stylesheet" href="/layui/extend/formSelects-v4.css">


</head>


<body>
<div class="yadmin-body animated fadeIn">
    <form action="" method="post" class="layui-form layui-form-pane">
        <div class="layui-form-item">
            <label for="id" class="layui-form-label">
                编号
            </label>
            <div class="layui-input-block">
                <input type="text" id="id" name="id" th:value="${asset.id}"
                       lay-verify="required" lay-vertype="tips"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="assetName" class="layui-form-label">
                资产名称
            </label>
            <div class="layui-input-block">
                <input type="text" id="assetName" name="assetName" th:value="${asset.assetName}"
                       lay-verify="required" lay-vertype="tips"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="assetType" class="layui-form-label">
                资产类型
            </label>
            <div class="layui-input-block">
                <input type="text" id="assetType" name="assetType" th:value="${asset.assetType}"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="assetStatus" class="layui-form-label">
                资产状态
            </label>
            <div class="layui-input-block">
                <input type="text" id="assetStatus" name="assetStatus" th:value="${asset.assetStatus}"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="assetValue" class="layui-form-label">
                资产价值
            </label>
            <div class="layui-input-block">
                <input type="text" id="assetValue" name="assetValue" th:value="${asset.assetValue}"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label for="assetRentalStatus" class="layui-form-label">
                是否外借
            </label>
            <div class="layui-input-block">
                <input type="text" id="assetRentalStatus" name="assetRentalStatus" th:value="${asset.assetRentalStatus}"
                       autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item">
            <div class="layui-input-block" style="margin-left:0;text-align:center;">
                <button class="layui-btn layui-btn-normal btn-w100" lay-submit="" lay-filter="update">确认</button>
            </div>
        </div>
    </form>
</div>

<script src="/layui/layui.js"></script>
<script src="/js/common.js"></script>

<script src="/js/asset/update.js"></script>

</body>
</html>